package cn.yunhe.entity;



import java.util.HashSet;
import java.util.Set;

public class

Block {
    private  int bid;//板块编号
    private  String bname;//板块名称
    private int status;//板块状态，1;在0：表示清除
    private Set<Topic> topicSet=new HashSet<Topic>();

    public Block() {
    }

    public Block(int bid) {
        this.bid = bid;
    }

    public Block(String bname) {
        this.bname = bname;
    }

    public Block(int bid, String bname) {
        this.bid = bid;
        this.bname = bname;
    }

    public Block(int bid, String bname, int status) {
        this.bid = bid;
        this.bname = bname;
        this.status = status;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Set<Topic> getTopicSet() {
        return topicSet;
    }

    public void setTopicSet(Set<Topic> topicSet) {
        this.topicSet = topicSet;
    }
}
